<!DOCTYPE html>
<html>
    <head>
        <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../js/excanvas.min.js"></script><![endif]-->
        <title>Randomization Test For Two Binary Categorical Variables</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <script type='text/javascript' src="../steal/steal.js?./randomization_2_cat/randomization_2_cat.js"></script>
        <script type="text/x-mathjax-config">
        MathJax.Hub.Config({
          tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
        });
        </script>
        <script type="text/javascript"
src="../js/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
        </script>
    </head>
    <body>
        <div id="page">
            <div id="header">
                <h2 id="title">
                Randomization Test For Two Binary Categorical Variables
                <em>
                <a href="../index.html">[Return to StatKey Index]</a>
                </em>
                </h2>
                <div id="data-source-controls" class="buttonset">
                    <button id="data-source-button" style="width: auto;">
                    </button>
                    <button id="edit-data-source-button">
                        Edit Data
                    </button>
                </div>
                <div id="hypothesis-function-controls">
                    <p>Randomization method <button id="sample-function-button"></button></p>
                </div>
                <div id="sample-generator-controls">
                    <span id="sample-generator-buttonset"></span>
                    <button id="sample-reset-button">
                        Reset Plot
                    </button>
                </div>
            </div>
            <div id="graphs">
                <h3 id="main-plot-header">
                Randomization Dotplot of <button id="bootstrap-type-button">
                </button>
                Null Hypothesis: <em>$p1=p2$</em>
                
                </h3>
                <div id="main-plot-div" class="floatleft">
                    <div id="dotplot" class="largeplot">
                    </div>
                </div>
                <div id="scatter-plot-div" class="floatleft padleft">
                    <div>
                        <h3 id="original-sample-header" class="center">Original Sample</h3>
                        <div id="original-sample-table" class="tablesorter">
                        </div>
                    </div>
                    <div>
                        <h3 id="hover-sample-header" class="center">Randomization Sample</h3>
                        <div id="current-sample-table" class="tablesorter">
                        </div>
                    </div>
                </div>
            </div>
            <div class="floatclear">
            </div>
        </div>
        <p id="footer">
            <em>
            This application is written in JavaScript. It's snappy on
            <a href="http://www.google.com/chrome">Chrome</a>, slower on
            <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a>, and terrible
            on
            <a href="http://www.crashie.com/">Internet Explorer</a>.
            </em>
        </p>
    </body>
</html>
